package com.yantong.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class Product implements Serializable {

	/**
	 * 列表图片
	 */
	private String  listImg;
	/**
	 * 海报图片
	 */
	private String 	posterImg;


	private Integer productType;
	/**
	 * 乐观锁更新库存version
	 */
	private Integer version;
	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.id
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Long id;

	private String supplyNm;

	private String lirun;

	private Integer usertype;

	private BigDecimal usercommission;

	private Integer superusertype;
	private BigDecimal superusercommission;
	private Integer isSpellgroup;
	private Integer spellgroupnum;
	private Integer ispresell;

	public String getListImg() {
		return listImg;
	}

	public void setListImg(String listImg) {
		this.listImg = listImg;
	}

	public String getPosterImg() {
		return posterImg;
	}

	public void setPosterImg(String posterImg) {
		this.posterImg = posterImg;
	}

	public Integer getIspresell() {
		return ispresell;
	}

	public void setIspresell(Integer ispresell) {
		this.ispresell = ispresell;
	}

	public Integer getIsSpellgroup() {
		return isSpellgroup;
	}

	public void setIsSpellgroup(Integer isSpellgroup) {
		this.isSpellgroup = isSpellgroup;
	}

	public Integer getSpellgroupnum() {
		return spellgroupnum;
	}

	public void setSpellgroupnum(Integer spellgroupnum) {
		this.spellgroupnum = spellgroupnum;
	}

	public Integer getSuperusertype() {
		return superusertype;
	}

	public void setSuperusertype(Integer superusertype) {
		this.superusertype = superusertype;
	}

	public BigDecimal getSuperusercommission() {
		return superusercommission;
	}

	public void setSuperusercommission(BigDecimal superusercommission) {
		this.superusercommission = superusercommission;
	}

	public Integer getUsertype() {
		return usertype;
	}

	public void setUsertype(Integer usertype) {
		this.usertype = usertype;
	}

	public BigDecimal getUsercommission() {
		return usercommission;
	}

	public void setUsercommission(BigDecimal usercommission) {
		this.usercommission = usercommission;
	}


	/**
	 * 创建人
	 */
	private String creUnm;
	/**
	 * 创建日期
	 */
	private Date creDt;
	/**
	 * 更新人
	 */
	private String updUnm;
	/**
	 * 更新日期
	 */
	private Date updDt;


	public String getCreUnm() {
		return creUnm;
	}

	public void setCreUnm(String creUnm) {
		this.creUnm = creUnm;
	}

	public Date getCreDt() {
		return creDt;
	}

	public void setCreDt(Date creDt) {
		this.creDt = creDt;
	}

	public String getUpdUnm() {
		return updUnm;
	}

	public void setUpdUnm(String updUnm) {
		this.updUnm = updUnm;
	}


	public Date getUpdDt() {
		return updDt;
	}

	public void setUpdDt(Date updDt) {
		this.updDt = updDt;
	}


	/**
	 * 单个商品总成本
	 */
	private String allcostprice;

	public String getLirun() {
		return lirun;
	}

	public void setLirun(String lirun) {
		this.lirun = lirun;
	}

	public String getSupplyNm() {
		return supplyNm;
	}

	public void setSupplyNm(String supplyNm) {
		this.supplyNm = supplyNm;
	}

	public String getAllcostprice() {
		return allcostprice;
	}

	public void setAllcostprice(String allcostprice) {
		this.allcostprice = allcostprice;
	}

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.displayorder
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer displayorder;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.title
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private String title;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.goodscode
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private String goodscode;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.short_title
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private String shortTitle;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.spec_title
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private String specTitle;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.pcate
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Long pcate;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.ccate
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Long ccate;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.thumb
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private String thumb;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.thumb_square
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private String thumbSquare;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.videourl
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private String videourl;

	private String proddes;//商品描述


	public String getProddes() {
		return proddes;
	}

	public void setProddes(String proddes) {
		this.proddes = proddes;
	}

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.thumb_url
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private String thumbUrl;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.unit
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private String unit;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.supplier_id
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Long supplierId;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.description
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private String description;

	private BigDecimal zitiprice;
	private BigDecimal tangshiprice;
	private BigDecimal waimaiprice;
	private BigDecimal tangshivipprice;
	private BigDecimal waimaivipprice;
	private BigDecimal zitivipprice;

	private Integer isziti;
	private Integer istangshi;
	private Integer iswaimai;

	private Integer discountStatus;
	private BigDecimal discount;
	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.status
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer status;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.up_start_time
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date upStartTime;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.up_end_time
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date upEndTime;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.marketprice
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private BigDecimal marketprice;
	//  private BigDecimal teamPrice;
	private Integer isTeamBuy;
	private Integer startLimit;
	private Integer isList;


	public Integer getIsList() {
		return isList;
	}

	public void setIsList(Integer isList) {
		this.isList = isList;
	}


	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.productprice
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private BigDecimal productprice;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.costprice
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private BigDecimal costprice;

	/**
	 * 建议零售价
	 */
	private BigDecimal suggestsaleprice;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.total
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer total;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.selfvalue
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private String selfvalue;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.totalcnf
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer totalcnf;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.createtime
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Date createtime;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.weight
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private BigDecimal weight;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.creditprice
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer creditprice;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.usermaxbuy
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer usermaxbuy;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.hasoptionsbuy
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer hasoptionsbuy;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.hasoption
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer hasoption;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.isnew
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer isnew;

	private Integer isbig;

	private Integer isvip;
	private Integer iszhicai;
	private Integer ismao;
	private Integer isfanchang;
	private Integer isgerida;
	private Integer isfashi;
	private Integer iszhutihuakuang;

	private Integer flag;//标记

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	/**
	 * 累计销售数量
	 */
	private Integer grandtotal;


	public Integer getGrandtotal() {
		return grandtotal;
	}

	public void setGrandtotal(Integer grandtotal) {
		this.grandtotal = grandtotal;
	}

	public Integer getIszhicai() {
		return iszhicai;
	}

	public void setIszhicai(Integer iszhicai) {
		this.iszhicai = iszhicai;
	}

	public Integer getIsmao() {
		return ismao;
	}

	public void setIsmao(Integer ismao) {
		this.ismao = ismao;
	}

	public Integer getIsfanchang() {
		return isfanchang;
	}

	public void setIsfanchang(Integer isfanchang) {
		this.isfanchang = isfanchang;
	}

	public Integer getIsgerida() {
		return isgerida;
	}

	public void setIsgerida(Integer isgerida) {
		this.isgerida = isgerida;
	}

	public Integer getIsfashi() {
		return isfashi;
	}

	public void setIsfashi(Integer isfashi) {
		this.isfashi = isfashi;
	}

	public Integer getIszhutihuakuang() {
		return iszhutihuakuang;
	}

	public void setIszhutihuakuang(Integer iszhutihuakuang) {
		this.iszhutihuakuang = iszhutihuakuang;
	}

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.ishot
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer ishot;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.isrecommand
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer isrecommand;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.isdiscount
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer isdiscount;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.islimited
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer islimited;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.istime
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer istime;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.ismiaosha
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer ismiaosha;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.sales
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer sales;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.salesreal
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer salesreal;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.credit
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer credit;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.timestart
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date timestart;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.timeend
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date timeend;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.viewcount
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer viewcount;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.deleted
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer deleted;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.maxbuy
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer maxbuy;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.hascommission
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer hascommission;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.virtual
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer virtual;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.salespricereal
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private BigDecimal salespricereal;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.free_shipping
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer freeShipping;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.sendprice
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private BigDecimal sendprice;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.dispatchid
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Long dispatchid;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.is_fx_commission
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer isFxCommission;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.headtype
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer headtype;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.headcommission
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private BigDecimal headcommission;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.superiortype
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer superiortype;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.superiorcommission
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private BigDecimal superiorcommission;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.mid
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer mid;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.zhibo
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer zhibo;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.tihuoday
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer tihuoday;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.isgongyi
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer isgongyi;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.gongyilogo
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private String gongyilogo;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.gongyiprice
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private BigDecimal gongyiprice;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.salesready
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer salesready;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.iscredits
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer iscredits;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.white_teams
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private String whiteTeams;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.showsupply
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer showsupply;
	/**
	 * 产品生产日期
	 */
	private String manudate;
	/**
	 * 保质期
	 */
	private String guarantday;

	private List<Category> ccategoryList;

	public String getManudate() {
		return manudate;
	}

	public void setManudate(String manudate) {
		this.manudate = manudate;
	}

	public String getGuarantday() {
		return guarantday;
	}

	public void setGuarantday(String guarantday) {
		this.guarantday = guarantday;
	}

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.sid
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer sid;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.uncancelable
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private Integer uncancelable;

	/**
	 * This field was generated by MyBatis Generator.
	 * This field corresponds to the database column t_product_base.areas
	 *
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	private String areas;

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.id
	 *
	 * @return the value of t_product_base.id
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Long getId() {
		return id;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.id
	 *
	 * @param id the value for t_product_base.id
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.displayorder
	 *
	 * @return the value of t_product_base.displayorder
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getDisplayorder() {
		return displayorder;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.displayorder
	 *
	 * @param displayorder the value for t_product_base.displayorder
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setDisplayorder(Integer displayorder) {
		this.displayorder = displayorder;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.title
	 *
	 * @return the value of t_product_base.title
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.title
	 *
	 * @param title the value for t_product_base.title
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setTitle(String title) {
		this.title = title == null ? null : title.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.goodscode
	 *
	 * @return the value of t_product_base.goodscode
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public String getGoodscode() {
		return goodscode;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.goodscode
	 *
	 * @param goodscode the value for t_product_base.goodscode
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setGoodscode(String goodscode) {
		this.goodscode = goodscode == null ? null : goodscode.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.short_title
	 *
	 * @return the value of t_product_base.short_title
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public String getShortTitle() {
		return shortTitle;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.short_title
	 *
	 * @param shortTitle the value for t_product_base.short_title
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setShortTitle(String shortTitle) {
		this.shortTitle = shortTitle == null ? null : shortTitle.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.spec_title
	 *
	 * @return the value of t_product_base.spec_title
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public String getSpecTitle() {
		return specTitle;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.spec_title
	 *
	 * @param specTitle the value for t_product_base.spec_title
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setSpecTitle(String specTitle) {
		this.specTitle = specTitle == null ? null : specTitle.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.pcate
	 *
	 * @return the value of t_product_base.pcate
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Long getPcate() {
		return pcate;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.pcate
	 *
	 * @param pcate the value for t_product_base.pcate
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setPcate(Long pcate) {
		this.pcate = pcate;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.ccate
	 *
	 * @return the value of t_product_base.ccate
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Long getCcate() {
		return ccate;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.ccate
	 *
	 * @param ccate the value for t_product_base.ccate
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setCcate(Long ccate) {
		this.ccate = ccate;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.thumb
	 *
	 * @return the value of t_product_base.thumb
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public String getThumb() {
		return thumb;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.thumb
	 *
	 * @param thumb the value for t_product_base.thumb
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setThumb(String thumb) {
		this.thumb = thumb == null ? null : thumb.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.thumb_square
	 *
	 * @return the value of t_product_base.thumb_square
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public String getThumbSquare() {
		return thumbSquare;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.thumb_square
	 *
	 * @param thumbSquare the value for t_product_base.thumb_square
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setThumbSquare(String thumbSquare) {
		this.thumbSquare = thumbSquare == null ? null : thumbSquare.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.videourl
	 *
	 * @return the value of t_product_base.videourl
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public String getVideourl() {
		return videourl;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.videourl
	 *
	 * @param videourl the value for t_product_base.videourl
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setVideourl(String videourl) {
		this.videourl = videourl == null ? null : videourl.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.thumb_url
	 *
	 * @return the value of t_product_base.thumb_url
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public String getThumbUrl() {
		return thumbUrl;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.thumb_url
	 *
	 * @param thumbUrl the value for t_product_base.thumb_url
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setThumbUrl(String thumbUrl) {
		this.thumbUrl = thumbUrl == null ? null : thumbUrl.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.unit
	 *
	 * @return the value of t_product_base.unit
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public String getUnit() {
		return unit;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.unit
	 *
	 * @param unit the value for t_product_base.unit
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setUnit(String unit) {
		this.unit = unit == null ? null : unit.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.supplier_id
	 *
	 * @return the value of t_product_base.supplier_id
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Long getSupplierId() {
		return supplierId;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.supplier_id
	 *
	 * @param supplierId the value for t_product_base.supplier_id
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setSupplierId(Long supplierId) {
		this.supplierId = supplierId;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.description
	 *
	 * @return the value of t_product_base.description
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.description
	 *
	 * @param description the value for t_product_base.description
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setDescription(String description) {
		this.description = description == null ? null : description.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.status
	 *
	 * @return the value of t_product_base.status
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.status
	 *
	 * @param status the value for t_product_base.status
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.up_start_time
	 *
	 * @return the value of t_product_base.up_start_time
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Date getUpStartTime() {
		return upStartTime;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.up_start_time
	 *
	 * @param upStartTime the value for t_product_base.up_start_time
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setUpStartTime(Date upStartTime) {
		this.upStartTime = upStartTime;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.up_end_time
	 *
	 * @return the value of t_product_base.up_end_time
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Date getUpEndTime() {
		return upEndTime;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.up_end_time
	 *
	 * @param upEndTime the value for t_product_base.up_end_time
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setUpEndTime(Date upEndTime) {
		this.upEndTime = upEndTime;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.marketprice
	 *
	 * @return the value of t_product_base.marketprice
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public BigDecimal getMarketprice() {
		return marketprice;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.marketprice
	 *
	 * @param marketprice the value for t_product_base.marketprice
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setMarketprice(BigDecimal marketprice) {
		this.marketprice = marketprice;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.productprice
	 *
	 * @return the value of t_product_base.productprice
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public BigDecimal getProductprice() {
		return productprice;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.productprice
	 *
	 * @param productprice the value for t_product_base.productprice
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setProductprice(BigDecimal productprice) {
		this.productprice = productprice;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.costprice
	 *
	 * @return the value of t_product_base.costprice
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public BigDecimal getCostprice() {
		return costprice;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.costprice
	 *
	 * @param costprice the value for t_product_base.costprice
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setCostprice(BigDecimal costprice) {
		this.costprice = costprice;
	}


	public BigDecimal getSuggestsaleprice() {
		return suggestsaleprice;
	}

	public void setSuggestsaleprice(BigDecimal suggestsaleprice) {
		this.suggestsaleprice = suggestsaleprice;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.total
	 *
	 * @return the value of t_product_base.total
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getTotal() {
		return total;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.total
	 *
	 * @param total the value for t_product_base.total
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setTotal(Integer total) {
		this.total = total;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.selfvalue
	 *
	 * @return the value of t_product_base.selfvalue
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public String getSelfvalue() {
		return selfvalue;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.selfvalue
	 *
	 * @param selfvalue the value for t_product_base.selfvalue
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setSelfvalue(String selfvalue) {
		this.selfvalue = selfvalue == null ? null : selfvalue.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.totalcnf
	 *
	 * @return the value of t_product_base.totalcnf
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getTotalcnf() {
		return totalcnf;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.totalcnf
	 *
	 * @param totalcnf the value for t_product_base.totalcnf
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setTotalcnf(Integer totalcnf) {
		this.totalcnf = totalcnf;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.createtime
	 *
	 * @return the value of t_product_base.createtime
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Date getCreatetime() {
		return createtime;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.createtime
	 *
	 * @param createtime the value for t_product_base.createtime
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.weight
	 *
	 * @return the value of t_product_base.weight
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public BigDecimal getWeight() {
		return weight;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.weight
	 *
	 * @param weight the value for t_product_base.weight
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.creditprice
	 *
	 * @return the value of t_product_base.creditprice
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getCreditprice() {
		return creditprice;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.creditprice
	 *
	 * @param creditprice the value for t_product_base.creditprice
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setCreditprice(Integer creditprice) {
		this.creditprice = creditprice;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.usermaxbuy
	 *
	 * @return the value of t_product_base.usermaxbuy
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getUsermaxbuy() {
		return usermaxbuy;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.usermaxbuy
	 *
	 * @param usermaxbuy the value for t_product_base.usermaxbuy
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setUsermaxbuy(Integer usermaxbuy) {
		this.usermaxbuy = usermaxbuy;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.hasoptionsbuy
	 *
	 * @return the value of t_product_base.hasoptionsbuy
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getHasoptionsbuy() {
		return hasoptionsbuy;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.hasoptionsbuy
	 *
	 * @param hasoptionsbuy the value for t_product_base.hasoptionsbuy
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setHasoptionsbuy(Integer hasoptionsbuy) {
		this.hasoptionsbuy = hasoptionsbuy;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.hasoption
	 *
	 * @return the value of t_product_base.hasoption
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getHasoption() {
		return hasoption;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.hasoption
	 *
	 * @param hasoption the value for t_product_base.hasoption
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setHasoption(Integer hasoption) {
		this.hasoption = hasoption;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.isnew
	 *
	 * @return the value of t_product_base.isnew
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getIsnew() {
		return isnew;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.isnew
	 *
	 * @param isnew the value for t_product_base.isnew
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setIsnew(Integer isnew) {
		this.isnew = isnew;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.ishot
	 *
	 * @return the value of t_product_base.ishot
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getIshot() {
		return ishot;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.ishot
	 *
	 * @param ishot the value for t_product_base.ishot
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setIshot(Integer ishot) {
		this.ishot = ishot;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.isrecommand
	 *
	 * @return the value of t_product_base.isrecommand
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getIsrecommand() {
		return isrecommand;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.isrecommand
	 *
	 * @param isrecommand the value for t_product_base.isrecommand
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setIsrecommand(Integer isrecommand) {
		this.isrecommand = isrecommand;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.isdiscount
	 *
	 * @return the value of t_product_base.isdiscount
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getIsdiscount() {
		return isdiscount;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.isdiscount
	 *
	 * @param isdiscount the value for t_product_base.isdiscount
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setIsdiscount(Integer isdiscount) {
		this.isdiscount = isdiscount;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.islimited
	 *
	 * @return the value of t_product_base.islimited
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getIslimited() {
		return islimited;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.islimited
	 *
	 * @param islimited the value for t_product_base.islimited
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setIslimited(Integer islimited) {
		this.islimited = islimited;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.istime
	 *
	 * @return the value of t_product_base.istime
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getIstime() {
		return istime;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.istime
	 *
	 * @param istime the value for t_product_base.istime
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setIstime(Integer istime) {
		this.istime = istime;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.ismiaosha
	 *
	 * @return the value of t_product_base.ismiaosha
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getIsmiaosha() {
		return ismiaosha;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.ismiaosha
	 *
	 * @param ismiaosha the value for t_product_base.ismiaosha
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setIsmiaosha(Integer ismiaosha) {
		this.ismiaosha = ismiaosha;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.sales
	 *
	 * @return the value of t_product_base.sales
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getSales() {
		return sales;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.sales
	 *
	 * @param sales the value for t_product_base.sales
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setSales(Integer sales) {
		this.sales = sales;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.salesreal
	 *
	 * @return the value of t_product_base.salesreal
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getSalesreal() {
		return salesreal;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.salesreal
	 *
	 * @param salesreal the value for t_product_base.salesreal
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setSalesreal(Integer salesreal) {
		this.salesreal = salesreal;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.credit
	 *
	 * @return the value of t_product_base.credit
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getCredit() {
		return credit;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.credit
	 *
	 * @param credit the value for t_product_base.credit
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setCredit(Integer credit) {
		this.credit = credit;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.timestart
	 *
	 * @return the value of t_product_base.timestart
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Date getTimestart() {
		return timestart;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.timestart
	 *
	 * @param timestart the value for t_product_base.timestart
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setTimestart(Date timestart) {
		this.timestart = timestart;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.timeend
	 *
	 * @return the value of t_product_base.timeend
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Date getTimeend() {
		return timeend;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.timeend
	 *
	 * @param timeend the value for t_product_base.timeend
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setTimeend(Date timeend) {
		this.timeend = timeend;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.viewcount
	 *
	 * @return the value of t_product_base.viewcount
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getViewcount() {
		return viewcount;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.viewcount
	 *
	 * @param viewcount the value for t_product_base.viewcount
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setViewcount(Integer viewcount) {
		this.viewcount = viewcount;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.deleted
	 *
	 * @return the value of t_product_base.deleted
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getDeleted() {
		return deleted;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.deleted
	 *
	 * @param deleted the value for t_product_base.deleted
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.maxbuy
	 *
	 * @return the value of t_product_base.maxbuy
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getMaxbuy() {
		return maxbuy;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.maxbuy
	 *
	 * @param maxbuy the value for t_product_base.maxbuy
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setMaxbuy(Integer maxbuy) {
		this.maxbuy = maxbuy;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.hascommission
	 *
	 * @return the value of t_product_base.hascommission
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getHascommission() {
		return hascommission;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.hascommission
	 *
	 * @param hascommission the value for t_product_base.hascommission
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setHascommission(Integer hascommission) {
		this.hascommission = hascommission;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.virtual
	 *
	 * @return the value of t_product_base.virtual
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getVirtual() {
		return virtual;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.virtual
	 *
	 * @param virtual the value for t_product_base.virtual
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setVirtual(Integer virtual) {
		this.virtual = virtual;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.salespricereal
	 *
	 * @return the value of t_product_base.salespricereal
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public BigDecimal getSalespricereal() {
		return salespricereal;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.salespricereal
	 *
	 * @param salespricereal the value for t_product_base.salespricereal
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setSalespricereal(BigDecimal salespricereal) {
		this.salespricereal = salespricereal;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.free_shipping
	 *
	 * @return the value of t_product_base.free_shipping
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getFreeShipping() {
		return freeShipping;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.free_shipping
	 *
	 * @param freeShipping the value for t_product_base.free_shipping
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setFreeShipping(Integer freeShipping) {
		this.freeShipping = freeShipping;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.sendprice
	 *
	 * @return the value of t_product_base.sendprice
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public BigDecimal getSendprice() {
		return sendprice;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.sendprice
	 *
	 * @param sendprice the value for t_product_base.sendprice
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setSendprice(BigDecimal sendprice) {
		this.sendprice = sendprice;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.dispatchid
	 *
	 * @return the value of t_product_base.dispatchid
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Long getDispatchid() {
		return dispatchid;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.dispatchid
	 *
	 * @param dispatchid the value for t_product_base.dispatchid
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setDispatchid(Long dispatchid) {
		this.dispatchid = dispatchid;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.is_fx_commission
	 *
	 * @return the value of t_product_base.is_fx_commission
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getIsFxCommission() {
		return isFxCommission;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.is_fx_commission
	 *
	 * @param isFxCommission the value for t_product_base.is_fx_commission
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setIsFxCommission(Integer isFxCommission) {
		this.isFxCommission = isFxCommission;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.headtype
	 *
	 * @return the value of t_product_base.headtype
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getHeadtype() {
		return headtype;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.headtype
	 *
	 * @param headtype the value for t_product_base.headtype
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setHeadtype(Integer headtype) {
		this.headtype = headtype;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.headcommission
	 *
	 * @return the value of t_product_base.headcommission
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public BigDecimal getHeadcommission() {
		return headcommission;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.headcommission
	 *
	 * @param headcommission the value for t_product_base.headcommission
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setHeadcommission(BigDecimal headcommission) {
		this.headcommission = headcommission;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.superiortype
	 *
	 * @return the value of t_product_base.superiortype
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getSuperiortype() {
		return superiortype;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.superiortype
	 *
	 * @param superiortype the value for t_product_base.superiortype
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setSuperiortype(Integer superiortype) {
		this.superiortype = superiortype;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.superiorcommission
	 *
	 * @return the value of t_product_base.superiorcommission
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public BigDecimal getSuperiorcommission() {
		return superiorcommission;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.superiorcommission
	 *
	 * @param superiorcommission the value for t_product_base.superiorcommission
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setSuperiorcommission(BigDecimal superiorcommission) {
		this.superiorcommission = superiorcommission;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.mid
	 *
	 * @return the value of t_product_base.mid
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getMid() {
		return mid;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.mid
	 *
	 * @param mid the value for t_product_base.mid
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setMid(Integer mid) {
		this.mid = mid;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.zhibo
	 *
	 * @return the value of t_product_base.zhibo
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getZhibo() {
		return zhibo;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.zhibo
	 *
	 * @param zhibo the value for t_product_base.zhibo
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setZhibo(Integer zhibo) {
		this.zhibo = zhibo;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.tihuoday
	 *
	 * @return the value of t_product_base.tihuoday
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getTihuoday() {
		return tihuoday;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.tihuoday
	 *
	 * @param tihuoday the value for t_product_base.tihuoday
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setTihuoday(Integer tihuoday) {
		this.tihuoday = tihuoday;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.isgongyi
	 *
	 * @return the value of t_product_base.isgongyi
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getIsgongyi() {
		return isgongyi;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.isgongyi
	 *
	 * @param isgongyi the value for t_product_base.isgongyi
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setIsgongyi(Integer isgongyi) {
		this.isgongyi = isgongyi;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.gongyilogo
	 *
	 * @return the value of t_product_base.gongyilogo
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public String getGongyilogo() {
		return gongyilogo;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.gongyilogo
	 *
	 * @param gongyilogo the value for t_product_base.gongyilogo
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setGongyilogo(String gongyilogo) {
		this.gongyilogo = gongyilogo == null ? null : gongyilogo.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.gongyiprice
	 *
	 * @return the value of t_product_base.gongyiprice
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public BigDecimal getGongyiprice() {
		return gongyiprice;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.gongyiprice
	 *
	 * @param gongyiprice the value for t_product_base.gongyiprice
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setGongyiprice(BigDecimal gongyiprice) {
		this.gongyiprice = gongyiprice;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.salesready
	 *
	 * @return the value of t_product_base.salesready
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getSalesready() {
		return salesready;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.salesready
	 *
	 * @param salesready the value for t_product_base.salesready
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setSalesready(Integer salesready) {
		this.salesready = salesready;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.iscredits
	 *
	 * @return the value of t_product_base.iscredits
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getIscredits() {
		return iscredits;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.iscredits
	 *
	 * @param iscredits the value for t_product_base.iscredits
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setIscredits(Integer iscredits) {
		this.iscredits = iscredits;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.white_teams
	 *
	 * @return the value of t_product_base.white_teams
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public String getWhiteTeams() {
		return whiteTeams;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.white_teams
	 *
	 * @param whiteTeams the value for t_product_base.white_teams
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setWhiteTeams(String whiteTeams) {
		this.whiteTeams = whiteTeams == null ? null : whiteTeams.trim();
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.showsupply
	 *
	 * @return the value of t_product_base.showsupply
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getShowsupply() {
		return showsupply;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.showsupply
	 *
	 * @param showsupply the value for t_product_base.showsupply
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setShowsupply(Integer showsupply) {
		this.showsupply = showsupply;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.sid
	 *
	 * @return the value of t_product_base.sid
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getSid() {
		return sid;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.sid
	 *
	 * @param sid the value for t_product_base.sid
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setSid(Integer sid) {
		this.sid = sid;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.uncancelable
	 *
	 * @return the value of t_product_base.uncancelable
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public Integer getUncancelable() {
		return uncancelable;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.uncancelable
	 *
	 * @param uncancelable the value for t_product_base.uncancelable
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setUncancelable(Integer uncancelable) {
		this.uncancelable = uncancelable;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method returns the value of the database column t_product_base.areas
	 *
	 * @return the value of t_product_base.areas
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public String getAreas() {
		return areas;
	}

	/**
	 * This method was generated by MyBatis Generator.
	 * This method sets the value of the database column t_product_base.areas
	 *
	 * @param areas the value for t_product_base.areas
	 * @mbg.generated Sun Sep 09 08:58:04 CST 2018
	 */
	public void setAreas(String areas) {
		this.areas = areas == null ? null : areas.trim();
	}

	public Integer getIsbig() {
		return isbig;
	}

	public void setIsbig(Integer isbig) {
		this.isbig = isbig;
	}

	public List<Category> getCcategoryList() {
		return ccategoryList;
	}

	public void setCcategoryList(List<Category> ccategoryList) {
		this.ccategoryList = ccategoryList;
	}

	public Integer getIsvip() {
		return isvip;
	}

	public void setIsvip(Integer isvip) {
		this.isvip = isvip;
	}

	public Product() {
		super();
	}

	public Product(Integer displayorder, String title, String goodscode, String shortTitle, String unit,
                   Date upStartTime, Date upEndTime, BigDecimal marketprice, BigDecimal productprice, BigDecimal costprice,
                   BigDecimal suggestsaleprice, Integer maxbuy, Date timestart, Date timeend, BigDecimal headcommission) {
		super();
		this.displayorder = displayorder;
		this.title = title;
		this.goodscode = goodscode;
		this.shortTitle = shortTitle;
		this.unit = unit;
		this.upStartTime = upStartTime;
		this.upEndTime = upEndTime;
		this.marketprice = marketprice;
		this.productprice = productprice;
		this.costprice = costprice;
		this.suggestsaleprice = suggestsaleprice;
		this.maxbuy = maxbuy;
		this.timestart = timestart;
		this.timeend = timeend;
		this.maxbuy = maxbuy;
		this.headcommission = headcommission;
	}


	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}


	public Integer getIsTeamBuy() {
		return isTeamBuy;
	}

	public void setIsTeamBuy(Integer isTeamBuy) {
		this.isTeamBuy = isTeamBuy;
	}

	public Integer getStartLimit() {
		return startLimit;
	}

	public void setStartLimit(Integer startLimit) {
		this.startLimit = startLimit;
	}

	public Integer getProductType() {
		return productType;
	}

	public void setProductType(Integer productType) {
		this.productType = productType;
	}

	public BigDecimal getZitiprice() {
		return zitiprice;
	}

	public void setZitiprice(BigDecimal zitiprice) {
		this.zitiprice = zitiprice;
	}

	public BigDecimal getTangshiprice() {
		return tangshiprice;
	}

	public void setTangshiprice(BigDecimal tangshiprice) {
		this.tangshiprice = tangshiprice;
	}

	public BigDecimal getWaimaiprice() {
		return waimaiprice;
	}

	public void setWaimaiprice(BigDecimal waimaiprice) {
		this.waimaiprice = waimaiprice;
	}

	public BigDecimal getTangshivipprice() {
		return tangshivipprice;
	}

	public void setTangshivipprice(BigDecimal tangshivipprice) {
		this.tangshivipprice = tangshivipprice;
	}

	public BigDecimal getWaimaivipprice() {
		return waimaivipprice;
	}

	public void setWaimaivipprice(BigDecimal waimaivipprice) {
		this.waimaivipprice = waimaivipprice;
	}

	public BigDecimal getZitivipprice() {
		return zitivipprice;
	}

	public void setZitivipprice(BigDecimal zitivipprice) {
		this.zitivipprice = zitivipprice;
	}

	public Integer getIsziti() {
		return isziti;
	}

	public void setIsziti(Integer isziti) {
		this.isziti = isziti;
	}

	public Integer getIstangshi() {
		return istangshi;
	}

	public void setIstangshi(Integer istangshi) {
		this.istangshi = istangshi;
	}

	public Integer getIswaimai() {
		return iswaimai;
	}

	public void setIswaimai(Integer iswaimai) {
		this.iswaimai = iswaimai;
	}

	public Integer getDiscountStatus() {
		return discountStatus;
	}

	public void setDiscountStatus(Integer discountStatus) {
		this.discountStatus = discountStatus;
	}

	public BigDecimal getDiscount() {
		return discount;
	}

	public void setDiscount(BigDecimal discount) {
		this.discount = discount;
	}
}